#include"mystdio.h"

int main()
{
    _FILE* fp=_fopen("log.txt","a");
    if(fp==NULL)
    {
        return 1;
    }
    
    const char* message="abcdef\n";
    int cnt=10;
    while(cnt)
    {
        _fwrite(fp,message,strlen(message));
        cnt--;
    }

    sleep(5);

    _fclose(fp);

    return 0;
}
